package com.ruoyi.project.channel.businessCapital.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户提现表 business_capital
 * 
 * @author zero
 * @date 2019-05-04
 */
public class BusinessCapital extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private String capitalId;
	/** 状态(0: 未申请 1:申请中 2: 驳回 3. 已审批) */
	private String status;
	/**  */
	private String businessNo;

	public String getRootUserName() {
		return rootUserName;
	}

	public void setRootUserName(String rootUserName) {
		this.rootUserName = rootUserName;
	}

	private String rootUserName; // 业务员
	/**  */
	private Long businessId;
	private Long channelUserId;
	/** 最近申请时间 */
	private Date applyTime;
	/** 最近一次审批时间 */
	private Date approvalTime;
	/** 已提现的金额 */
	private BigDecimal amount;
	/** 银行名称 */
	private String bankName;
	/** 支行名称 */
	private String branchBank;
	/** 银行卡号 */
	private String bankNo;
	/** 开户名 */
	private String userName;
	/** 省份 */
	private String province;
	/** 角色id */
	private Long roleId;
	/** 单笔手续费 */
	private BigDecimal fee;
	private BigDecimal realAmount;
	public void setCapitalId(String capitalId) 
	{
		this.capitalId = capitalId;
	}

	public String getCapitalId() 
	{
		return capitalId;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setBusinessNo(String businessNo) 
	{
		this.businessNo = businessNo;
	}

	public String getBusinessNo() 
	{
		return businessNo;
	}
	public void setApplyTime(Date applyTime)
	{
		this.applyTime = applyTime;
	}

	public Date getApplyTime() 
	{
		return applyTime;
	}
	public void setApprovalTime(Date approvalTime) 
	{
		this.approvalTime = approvalTime;
	}

	public Date getApprovalTime() 
	{
		return approvalTime;
	}
	public void setAmount(BigDecimal amount) 
	{
		this.amount = amount;
	}

	public BigDecimal getAmount() 
	{
		return amount;
	}
	public void setBankName(String bankName) 
	{
		this.bankName = bankName;
	}

	public String getBankName() 
	{
		return bankName;
	}
	public void setBranchBank(String branchBank) 
	{
		this.branchBank = branchBank;
	}

	public String getBranchBank() 
	{
		return branchBank;
	}
	public void setBankNo(String bankNo) 
	{
		this.bankNo = bankNo;
	}

	public String getBankNo() 
	{
		return bankNo;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}

	public String getProvince() 
	{
		return province;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("capitalId", getCapitalId())
            .append("status", getStatus())
            .append("businessNo", getBusinessNo())
            .append("businessId", getBusinessId())
            .append("applyTime", getApplyTime())
            .append("approvalTime", getApprovalTime())
            .append("amount", getAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("bankName", getBankName())
            .append("branchBank", getBranchBank())
            .append("bankNo", getBankNo())
            .append("userName", getUserName())
            .append("province", getProvince())
            .append("remark", getRemark())
            .toString();
    }

	public Long getBusinessId() {
		return businessId;
	}

	public void setBusinessId(Long businessId) {
		this.businessId = businessId;
	}

	public Long getChannelUserId() {
		return channelUserId;
	}

	public void setChannelUserId(Long channelUserId) {
		this.channelUserId = channelUserId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public BigDecimal getFee() {
		return fee;
	}

	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}

	public BigDecimal getRealAmount() {
		return realAmount;
	}

	public void setRealAmount(BigDecimal realAmount) {
		this.realAmount = realAmount;
	}
}
